﻿using Net5ApiAndEfMySql.DtoModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VueAndNetCoreEfApi.PoModel.departmentyrh;

namespace VueAndNetCoreEfApi.IRepository.SystemAdmin
{
    public interface IdepartmentRespository
    {
        PagerResult<department> GetdepartmentList(SearchModel sm);

        bool departmentAdd(department user);
        department departmentFantian(int id);
        bool departmentDelete(int id);
        bool departmentUpdate(department user);
    }
}
